package com.wiwf.bean;

import com.alibaba.fastjson.JSONObject;

/**
 * @author kehui
 */
import java.util.HashMap;

public class MqttWgDataBean {
    /**
     * 自动上发的数据标识
     */
    public final String FlagZ = "Z";
    /**
     * 被动上发的数据标识
     */
    public final String FlagT = "T";

    /**
     * 设备号码
     */
    String phone;
    /**
     * 索引
     */
    String idx;
    /**
     * 时间
     */
    String time;

    /**
     * 标志
     */
    String flag;

    /**
     * 主体
     */
    HashMap<String, JSONObject> body;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIdx() {
        return idx;
    }

    public void setIdx(String idx) {
        this.idx = idx;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public HashMap<String, JSONObject> getBody() {
        return body;
    }

    public void setBody(HashMap<String, JSONObject> body) {
        this.body = body;
    }
}
